#include"Rectangles.h"
Rectangles::Rectangles() : Object()
{
	this->m_RectWidth = 1;
	this->m_RectWidth = 1;
	SetType(RECTANGLE);
}
Rectangles::Rectangles(float posX, float posY, int m_Width, int m_Height) : Object(posX, posY) 
{
	this->m_RectWidth = m_Width;
	this->m_RectHeight = m_Height;
	SetType(RECTANGLE);
}
Rectangles::~Rectangles()
{
	//cout<<"Destructor Rectangle"<<endl;
}
void Rectangles::Render()
{
	VideoDriver::GetInstance()->DrawRect((int)m_PositionX, (int)m_PositionY, m_RectWidth, m_RectHeight);
}
void Rectangles::SetWidth(int m_Width)
{
	this->m_RectWidth = m_Width;
}
void Rectangles::SetHeigth(int m_Height)
{
	this->m_RectHeight = m_Height;
}
int Rectangles::GetHeight()
{
	return this->m_RectHeight;
}
int Rectangles::GetWidth()
{
	return this->m_RectWidth;
}